/* 安装向导样式优化 */

:root {
  --primary-color: #3498db;
  --secondary-color: #2980b9;
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --text-color: #333;
  --light-text: #666;
  --border-color: #e0e0e0;
  --bg-color: #f8f9fa;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text-color);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* 登录框样式优化 */
.layadmin-user-login {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
}

.layadmin-user-login-main {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.layadmin-user-login-main:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.layadmin-user-login-header {
  padding: 25px 0 15px;
}

.layadmin-user-login-header h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
}

.layadmin-user-login-header h2:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
  border-radius: 3px;
}

/* 表单项样式优化 */
.layui-form-item {
  margin-bottom: 20px;
}

.layui-form-label {
  font-weight: 500;
  color: var(--light-text);
}

.layui-input {
  height: 42px;
  line-height: 42px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0 15px;
  transition: all 0.3s;
}

.layui-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.layui-input:hover {
  border-color: #b3d4fc;
}

/* 分组标题样式 */
.section-title {
  width: 200px;
  text-align: left;
  color: var(--primary-color) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin: 25px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

/* 按钮样式优化 */
.layui-btn-sub {
  height: 44px;
  line-height: 44px;
  padding: 0 30px;
  font-size: 15px;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: all 0.3s;
}

.layui-btn:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* 复选框样式 */
.agreement-container {
  display: flex;
  align-items: center;
  margin-top: 15px;
  padding: 10px;
  background-color: rgba(52, 152, 219, 0.05);
  border-radius: 4px;
}

.agreement-container a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.agreement-container a:hover {
  text-decoration: underline;
}

/* 页脚样式 */
.layadmin-user-login-footer {
  color: rgba(0, 0, 0, 0.5) !important;
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
  width: 100%;
}

/* 进度提示样式 */
.progress-container {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 4px solid var(--primary-color);
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.progress-title {
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.progress-bar {
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-inner {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .layadmin-user-login-main {
    width: 90%;
    max-width: 350px;
  }
  
  .layui-form-label {
    width: 100%;
    text-align: left;
    padding: 9px 0;
  }
  
  .layui-input-inline {
    margin: 0 !important;
    width: 100% !important;
  }
  
  .layui-form-item .layui-input-inline + .layui-form-mid {
    margin-left: 0;
    top: 0;
    padding: 5px 0;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.layadmin-user-login-main {
  animation: fadeIn 0.5s ease-out;
}